package com.gxa.service.impl;

import com.gxa.mapper.TypesMapper;
import com.gxa.service.TypesService;
import com.gxa.vo.TypesVo1;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TypesServiceImpl implements TypesService {

    @Autowired
    private TypesMapper typesMapper;

    @Override
    public List<String> queryComboNameByTypeName(String typeName) {
        return this.typesMapper.queryComboNameByTypeName(typeName);
    }

    @Override
    public List<TypesVo1> QueryTypes(String typeName) {
        return this.typesMapper.QueryTypes(typeName);
    }
}
